<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'data_backup.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" type="text/css" href="css/table.css">
<script language="javascript" type="text/javascript"
	src="<%=basePath%>My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
.clear { /* generic container (i.e. div) for floating buttons */
	overflow: hidden;
	width: 100%;
}

a.button {
	background: transparent url('images/button/bg_button_a.gif') no-repeat
		scroll top right;
	color: #444;
	display: block;
	float: left;
	font: normal 12px arial, sans-serif;
	height: 24px;
	margin-right: 6px;
	padding-right: 18px; /* sliding doors padding */
	text-decoration: none;
}

a.button span {
	background: transparent url('images/button/bg_button_span.gif')
		no-repeat;
	display: block;
	line-height: 14px;
	padding: 5px 0 5px 18px;
}

a.button:active {
	background-position: bottom right;
	color: #000;
	outline: none; /* hide dotted outline in Firefox */
}

a.button:active span {
	background-position: bottom left;
	padding: 6px 0 4px 18px; /* push text down 1px */
}
</style>


</head>

<body>



	<table width="100px">
		<thead>
			<tr>

				<th>数据备份</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr>
				<td colspan="2"><a class="button"
					href="backupAction!toExcel.action" onclick="this.blur();"><span>导出本月工资Excel</span>
				</a><br></td>
			</tr>
			<tr>
				<td >
					<form id="fm-form" method="post"
						action="backupAction!toExcel.action">

						<label for="fm-firstname">月份</label> <input name="wage.wage_month"
							onclick="WdatePicker({dateFmt:'yyyy-MM'})" type="text" />
							<a class="button"
					href="javascript:form.submit();" onclick="this.blur();"><span>备份月工资</span>
				</a>
					</form></td>
			</tr>
		</tbody>
		<tfoot>

		</tfoot>
	</table>

</body>
</html>
